package com.haibara.codesandbox.threadPool;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "thread-pool")  // 使用kebab-case
public class ThreadPoolConfig {
    private Integer core;
    private Integer max;
    private Integer queueSize;
}